package com.jsoft.dao.wang.impl;

import com.jsoft.dao.wang.TransferDao;
import com.jsoft.entity.wang.Transfer;
import com.jsoft.util.DAO;

import java.util.List;

/**
 * @author MG
 * @email 593020160@qq.com
 * @date 2023/2/22
 */
public class TransferDaoImpl extends DAO<Transfer> implements TransferDao {
    @Override
    public List findAllTickets(String sql, Integer start, Integer pageSize) throws Exception {
        return getForList(sql,start,pageSize);
    }
    @Override
    public List findAllTickets(String sql ) throws Exception {
        return getForList(sql);
    }



    @Override
    public Long getTotal(String sql) throws Exception {  ;
        return getForValue(sql);
    }


}
